import QtQuick 1.0

Image {
    id: imageLeftArrow
    source:"Images/1leftarrow.png"
    x: 30
    anchors.verticalCenter: parent.verticalCenter
    opacity: 1
    MouseArea {
        id: mouseRegion
        anchors.fill: parent
        onClicked: {
            console.log(theList)
            theList.decrementCurrentIndex()
        }
    }
    states: [
        State {
            name: "Pressed"
            when: mouseRegion.pressed == true
            PropertyChanges { target: imageLeftArrow; opacity: 0.5 }
        }
    ]
}

